import { UserModule } from '@/store/modules/user'

export const hasPermission = (permission: string): boolean => {
  return UserModule.permissions.includes(permission)
}
